package com.ims.entity;

import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "parttime")
public class ParttimeEntity {
    @Id
    private Integer id;

    @OneToOne
    @JoinColumn(name ="stu_id")
    private StudentInfoEntity student;
    private String department;
    private String job;
    private String occupationalSpan;

    public String getOccupationalSpan() {
        return occupationalSpan;
    }

    public void setOccupationalSpan(String occupationalSpan) {
        this.occupationalSpan = occupationalSpan;
    }

    private String note;

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public ParttimeEntity() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public StudentInfoEntity getStudent() {
        return student;
    }

    public void setStudent(StudentInfoEntity student) {
        this.student = student;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
